package com.five;

import java.util.Scanner;

public class Demo4 {
    public static void main(String[] args) {

        //存储用户
        String[] name=new String[5];
        String[] pass=new String[5];

        Scanner scanner = new Scanner(System.in );
        System.out.println("*****欢迎进入HQ点菜系统*****");
        System.out.println("请选择您需要的操作：1：登录，2：注册，3：退出");
        int i = scanner.nextInt();
        switch (i) {
            case 1:
                System.out.println("*****欢迎进入注册登录界面****");
                System.out.println("请输入用户名：");
                String uName1 = scanner.next();
                System.out.println("请输入密码：");
                String uPassworld2 = scanner.next();
                //..
                //xxx.dd();
               break;
            case 2:
                System.out.println("*****欢迎进入注册界面****");
                System.out.println("请输入用户名：");
                String uName = scanner.next();
                System.out.println("请输入密码：");
                String uPassworld = scanner.next();
                //..
                for (int j = 0; j <name.length ; j++) {

                }

                for (int j = 0; j < pass.length; j++) {

                }
                System.out.println("注册成功");

                break;
        }
    }
}
